kexec: add more pages to v1 environment
authorJan Beulich <jbeulich@suse.com>
Tue, 9 Jun 2015 14:00:24 +0000 (16:00 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 9 Jun 2015 14:00:24 +0000 (16:00 +0200)
commit5cb57f4bddee1f11079e69bf43c193a8b104c476
tree8391a7e903362f392978c008ed3f5e82b918cb94
parent85baced14dec2fafa9fe560969dba2ae28e8bebb
kexec: add more pages to v1 environment

Destination pages need mappings to be added to the page tables in the
v1 case (where nothing else calls machine_kexec_add_page() for them).

Further, without the tools mapping the low 1Mb (expected by at least
some Linux version), we need to do so in the hypervisor in the v1 case.

Suggested-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Alan Robinson <alan.robinson@ts.fujitsu.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/kexec.c
xen/common/kimage.c